<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body>
        <table border="0">
            <thead>
                <tr>
                    <th>Category</th>
                    <th>Parent</th>
                    <th>Add Time</th>
                    <th>Add By</th>
                </tr>
            </thead>
            <tbody>
                <tr><a href="<!--{ $mngPage }-->?page=<!--{ $page }-->&action=3&id=-1">Add New Category</a></tr>
                <!--{ foreach from=$List2 item="List1" }-->
                <tr>
                    <td><!--{ $List1.category }--></td>
                    <td><!--{ $List1.parent }--></td>
                    <td><!--{ $List1.inTime }--></td>
                    <td><!--{ $List1.inUser }--></td>
                    <!-- action = 1:edit; action = 2:delete; action = 3:add;-->
                    <td><input type="button" value="EDIT" onclick="window.location='<!--{ $mngPage }-->?page=<!--{ $page }-->&action=1&id=<!--{ $List1.id }-->'"></td>
                    <td><input type="button" value="DELETE" onclick="window.location='<!--{ $mngPage }-->?page=<!--{ $page }-->&action=2&id=<!--{ $List1.id }-->'"></td>
                </tr>
                <!--{ /foreach }-->
            </tbody>
        </table>
        <DIV ID="pageList">
            <!--{$pager->pageFirst}--> <!--{$pager->pageLast}--> <!--{ $pager->pageList}--> <!--{$pager->pageNext}--> <!--{$pager->pageEnd}-->
        </DIV>
    </body>
</html>